package com.xiaoxiaoxt.xiaoxiaoxtservice.impl;


import com.xiaoxiaoxt.xiaoxiaoxtdao.entity.Member;
import com.xiaoxiaoxt.xiaoxiaoxtdao.mapper.MemberMapper;
import com.xiaoxiaoxt.xiaoxiaoxtservice.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class MemberServiceImpl implements MemberService {
    @Autowired

    MemberMapper memberMapper;

    public Member selectByPk(Integer id){
        return memberMapper.selectByPrimaryKey(id);
    }
}
